/**
 * 有效性在线月报
 */
(function(window, angular, undefined){

	var module = angular.module('water.entity.wasteWater.ValidationMonthData',['waterCommon']);
	
	module.service('$ValidationMonthDataService',function($waterDataCommon){
	/**
	 * 查询
	 * waterType--监测类型
	 * start--开始时间
	 * end--结束时间
	 */
	this.getList=function(queryObject){
		var promise = $waterDataCommon.post("/ValidationMonthDataController/getList",queryObject);
		return promise;
	}
	/**
	 * 导出
	 */
	this.outWord=function(queryObject){
		var queryString = $waterDataCommon.jsonTostring(queryObject);
		window.open(getBasePath()+"/ValidationMonthDataController/outWord.do?"+queryString);
	}
	})
}(window, angular));